﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Colorful.Control.Services;
using Colorful.Control;
using System.Drawing;

namespace Colorful.Test.Mock
{
    internal class NullColorServiceMock : IGetColors
    {
        public string LogoTooltip { get { return null; } }

        public Bitmap Logo
        {
            get { return null; }
        }

        public IEnumerable<ColorList> SupportedLists
        {
            get
            {
                yield return ColorList.Popular;
                yield return ColorList.Random;
                yield return ColorList.Rating;
                yield return ColorList.Recent;
                yield return ColorList.Search;
            }
        }

        public List<Palette> GetColors(ColorList list, int startIndex, int itemsPerPage, out int totalItems)
        {
            totalItems = 0;
            return null;
        }

        public List<Palette> Search(string searchQuery, int startIndex, int itemsPerPage, out int totalItems)
        {
            totalItems = 0;
            return null;
        }
    }
}
